// Created by Roman Novitsky on 06.07.2009


#region Imported Namespaces


using System;


#endregion


namespace MobilePal.State
{
  public class ActivityStateEventArgs: ActivityEventArgs, IActivityStateEventArgs
  {
    #region Fields


    private readonly DateTime _toggleTime;


    #endregion


    #region Constructors/Finalizers


    public ActivityStateEventArgs(Activity activity, DateTime toggleTime)
      : base(activity)
    {
      _toggleTime = toggleTime;
    }


    #endregion


    #region Properties/Indexers


    public DateTime ToggleTime
    {
      get
      {
        return _toggleTime;
      }
    }


    #endregion
  }
}